package com.type.strings;
/***
 * string =string+string
 * the same as {
 * StringBuffer sb=new StringBuffer();
 * sb.append("hello");
 * str=sb.toString;
 * }
 * @author Administrator
 *
 */
public class string2String {

	public static void main(String[]args){
		String str=new String("Hello");
		System.out.println(str);
		str=str+"world";
		System.out.println(str); 
	}
}
